import Vue from 'vue'
import Router from 'vue-router'
import Main from '@/components/Main'
import HelloWorld from '@/components/HelloWorld'

Vue.use(Router)

export default new Router({
  routes: [
    {
    	// 主页
      	path: '/',
      	name: 'Main',
      	component: Main
    },
    {
      	path: '/HelloWorld',
      	name: 'HelloWorld',
      	component: HelloWorld
    }
  ]
})
